<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2021/1/23
  Time: 14:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script>
        function doC() {
            <%
                //out.print("document.write('你好，这是一个按钮');");
                out.print("alert('你好，这是一个按钮');");
            %>
        }
    </script>
</head>
<body>
<div>
    <input type="button" value="click me" onclick="doC()"/>
</div>
</body>
</html>
